//
//  CollectionReusableView.m
//  LNA
//
//  Created by Apple on 16/1/30.
//  Copyright © 2016年 www.lanou3g.com蓝鸥. All rights reserved.
//

#import "CollectionReusableView.h"

@implementation CollectionReusableView

- (void)dealloc
{
    [_headerLabel release];
    
    [super dealloc];
    
}

- (instancetype)initWithFrame:(CGRect)frame
{
    
    self = [super initWithFrame:frame];
    if (self) {
        self.headerLabel = [[UILabel alloc] init];
//        _headerLabel.backgroundColor = [UIColor yellowColor];
        [self addSubview:self.headerLabel];
    }
    return self;
    
}
- (void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes
{
    _headerLabel.frame = CGRectMake(10, 10, 100, 30);
    
    
    
    
}

@end
